﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sandbox.Main;
using GameLib.Main;
using Sandbox.Game.UI;
using GameLib.Gameplay;

namespace Sandbox.Game
{
	public class GameClient : Client
	{
		public override void Initialize()
		{
			base.Initialize();
			//Core.UI = new GameUI();
		}

		public GameWindow GameWindow
		{
			get;
			set;
		}

		public GameScreen GameScreen
		{
			get;
			private set;
		}

		public void NewGame()
		{
			GameScreen = new GameScreen();
			GameWindow.SwitchScreen(GameScreen);
			Core.Play = Play.New("some play");
			Core.UI = new GameUI(GameScreen, Core.Play);
			Core.Play.Begin();
		}

	}
}
